<?php

  /**
   * @package JooS
   * @subpackage PHPackager
   */

  require_once "JooS/PHPackager/Helper/Includepath.php";

  class JooS_PHPackager_Helper_Includepath_Append extends JooS_PHPackager_Helper_Includepath {
    public function __invoke($path) {
      $folders = self::get_include_path();
      if (!in_array($path, $folders)) {
        array_push($folders, $path);
        $this->set_include_path($folders);
      }
    }
  }
